
<jsp:include page="/header.jsp" />

		
<%@page import="javax.jdo.PersistenceManager"%>
<%@page import="com.ykwep.web.server.PMF"%>
<%@page import="com.ykwep.web.server.data.NewsItem"%>
<%@page import="java.util.List"%>		
		
		<%
		
		Long newsItemId = new Long(request.getParameter("news_item_id"));
		PersistenceManager pm = PMF.get().getPersistenceManager();
		NewsItem i = pm.getObjectById(NewsItem.class, newsItemId);
		%>
		<div class="entry">
			<div class="entry-title"><a href="#"><%=i.getTitle() %></a></div>
			<div class="date"><%=i.getDate() %></div>
			<p><%=i.getContent() %></p>
			<!--  <div class="comments"><a href="#">3 comments</a></div> -->
		</div>
    <%		pm.close(); %>
		

				
<jsp:include page="/footer.jsp" />
				